package com.school.service;

import com.school.domain.Course;
import com.school.domain.Grade;
import com.school.domain.Teacher;

import java.util.List;

public interface TeacherService {
    boolean teacherLogin(long tid, String pwd);

    Teacher findById(long tid);
    boolean update(Teacher teacher);
    boolean addCourse(Course course);
    List<Course> findCourses(long tid);
    boolean addGrade(Grade grade);
    boolean updateCourse(Course course);
    Course findCourse(long coid);
}
